A simple idle demo: this application just sits around and beeps periodically. You can send it a setIdle event from another script to change the beep rate.